#include "UnknownOperandException.h"
#include <boost/format.hpp>

UnknownOperandException::UnknownOperandException(std::string operand, int line)
: VccException(""), operand(operand), line(line) {
    this->message = str(boost::format("unknown operand %s (%d)") % operand % line);
}

UnknownOperandException::~UnknownOperandException() {
    // empty
}

std::string UnknownOperandException::get_operand() {
    return this->operand;
}

int UnknownOperandException::get_line() {
    return this->line;
}
